﻿/*----------------------------------------------------------------
//文件功能描述：库存分页查询对象。
//创建人：赵国伟
//创建时间：2012-06-09 13:49:54
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shopping.Common;

namespace Shopping.Model
{
    public class QueryGoodsStocksAsPage : AsPage
    {
        /// <summary>
        /// 商品关键字
        /// </summary>
        public string KeyWords;

        /// <summary>
        /// 商品分类ID
        /// </summary>
        public int CategoryID;

        /// <summary>
        /// 品牌ID
        /// </summary>
        public int BrandID;

        /// <summary>
        /// 库房ID;
        /// </summary>
        public int StoreID;

        /// <summary>
        /// 数量查询条件；
        /// </summary>
        public string Cond;

        /// <summary>
        /// 数量；
        /// </summary>
        public int Quantity;

        /// <summary>
        /// 排序值；
        /// </summary>
        public int Sorts;


        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="IsAutoLoadParams">是否自动加载查询参数</param>
        public QueryGoodsStocksAsPage(bool IsAutoLoadParams)
        {
            if (!IsAutoLoadParams)
                return;
            KeyWords = Utility.G("KeyWords");
            CategoryID = Utility.G<int>("CategoryID");
            BrandID = Utility.G<int>("BrandID");
            StoreID = Utility.G<int>("StoreID");
            Cond = Utility.G("Cond");
            Quantity = Utility.G<int>("Quantity");
            Sorts = Utility.G<int>("Sorts");
        }


    }
}
